<script>
export default {
  name:"Saside",
  data(){
    return{
      path:this.$route.path
    }
  },
  created() {
    console.log(this.$route.path)
  }
}

</script>

<template>
  <el-menu
      style="width:200px;min-height:calc(100vh - 50px)"
      :default-active="path"
      router
      class="el-menu-vertical-demo">
    <el-sub-menu index="1">
      <template #title>学生操作栏</template>
      <el-menu-item index="/student" >学生奖学金申报</el-menu-item>
    </el-sub-menu>
    <el-menu-item index="/Srule">规则栏</el-menu-item>
    <el-menu-item index="/Sprice">奖学金公示</el-menu-item>

  </el-menu>

</template>


<style scoped>

</style>